home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000402_jaltman@watsun.cc.columbia.edu_Sat Mar 2 20:19:02 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  87 lines

  1. Article: 13250 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!jaltman
  3. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Problem compiling cku201 with ssl/pam/shadow on Solaris 8
  6. Date: 3 Mar 2002 01:12:12 GMT
  7. Organization: Columbia University
  8. Lines: 70
  9. Message-ID: <a5rt9c$4u$1@newsmaster.cc.columbia.edu>
  10. References: <1015095274.284391@irys.nyx.net>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1015117932 158 128.59.39.2 (3 Mar 2002 01:12:12 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 3 Mar 2002 01:12:12 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13250
  16.  
  17.  
  18. Comment out the lines in ckuath.c that read
  19.  
  20.   #define  const_des_cblock const Block
  21.  
  22. In article <1015095274.284391@irys.nyx.net>,
  23. Henry van Cleef <hvanclee@nyx10.nyx.net> wrote:
  24. : I set up this morning to upgrade Kermit for several machines from 200
  25. : to 201.  I've tried it on Solaris x86 and on a Sun Ultra 2, and gotten
  26. : the same results.  Redid a compile of cku200 on x86 "just to be sure."
  27. : The error I get is in ckuauth.  Here is the message:
  28. : gcc -g -O -Usun -DSVR4 -DSOLARIS -DSTERMIOX -DSELECT -DFNFLOAT
  29. : -DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET
  30. : -DCK_AUTHENTICATION -DCK_SSL -DCK_PAM -DCK_SHADOW  -DZLIB -DBIGBUFOK
  31. : -I/usr/local/ssl/include -DSOLARIS8 -DNODIAL
  32. : -DKTARGET=\"solaris8g+openssl+zlib+pam+shadow\" -c ckuath.c
  33. : In file included from /usr/local/ssl/include/openssl/evp.h:89,
  34. :                  from /usr/local/ssl/include/openssl/x509.h:67,
  35. :                  from /usr/local/ssl/include/openssl/ssl.h:69,
  36. :                  from ck_ssl.h:36,
  37. :                  from ckuath.c:201:
  38. : /usr/local/ssl/include/openssl/des.h:78: conflicting types for `Block'
  39. : /usr/local/ssl/include/openssl/des.h:77: previous declaration of
  40. : `Block'
  41. : *** Error code 1
  42. : make: Fatal error: Command failed for target `ckuath.o'
  43. : Current working directory /usr/local/src/cku201
  44. : *** Error code 1
  45. : make: Fatal error: Command failed for target
  46. : `solaris2xg+openssl+zlib+pam+shadow'
  47. : Current working directory /usr/local/src/cku201
  48. : Configuration details:
  49. : Solaris 8 10/01 using the the gcc (2.95.3) included on the Software
  50. : Companion CD.
  51. : Openssh 0.9.6c, configured with no arguments, make, make test, make
  52. : install.
  53. : The offending lines (what gcc complains about) in des.h, with a
  54. : comment, are:
  55. :     77  typedef unsigned char des_cblock[8];
  56. :     78  typedef /* const */ unsigned char const_des_cblock[8];
  57. :     79  /* With "const", gcc 2.8.1 on Solaris thinks that des_cblock *
  58. :    80   * and const_des_cblock * are incompatible pointer types. */
  59. : Before I charge off and do something to resolve this, I thought I'd
  60. : post and see if somebody's been here ahead of me. I don't see any
  61. : ifdefs for Solaris in the des.h file that would affect this, and tried
  62. : it on a 32-bit system (x86) as well as a 64-bit (Ultra 2 boots
  63. : sparcv9), and don't see that this makes a difference.  I don't have
  64. : the Sun Forte compiler, and can't see any flags that are attempting to
  65. : make gcc do anything other than make a 32-bit object.
  66. : Comments from anyone?
  67. : Hank
  68.  
  69.  
  70.  Jeffrey Altman * Sr.Software Designer      C-Kermit 8.0 available now!!!
  71.  The Kermit Project @ Columbia University   includes Telnet, FTP and HTTP
  72.  http://www.kermit-project.org/             secured with Kerberos, SRP, and 
  73.  kermit-support@columbia.edu                OpenSSL. Interfaces with OpenSSH
  74.